package routers

import (
	"10.22/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/add", &controllers.HouseController{}, "POST:Add")
	beego.Router("/list", &controllers.HouseController{}, "GET:List")
	beego.Router("/del", &controllers.HouseController{}, "POST:Del")
}
